










<script type="text/javascript">
    var chess ='https://wb2.ihuizhi.com/chess/';
</script>


<!doctype html>
<style>
    .w46e{width:46.5%}
</style>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=0"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <meta name="renderer" content="webkit">
    <meta name="Keywords" content=""/>
    <meta name="description" content=""/>
    <style>
        .w_box {
            display: -webkit-box;
            display: -moz-box;
            display: -ms-flexbox;
            display: -o-box;
            display: box;
        }

        .flex1 {
            -webkit-box-flex: 1;
            -moz-box-flex: 1;
            -ms-flex: 1;
            -o-box-flex: 1;
            box-flex: 1;
        }

        .pack {
            -webkit-box-pack: center;
            box-pack: center;
        }

        .b_align {
            -webkit-box-align: center;
            box-align: center;
        }

        .header_box {
            height: 6rem;
            background: #25262c;
            color: #fff;
            position: fixed;
            top: 0;
            z-index: 999;
            padding: 1rem;
        }

        header img {
            width: 4rem;
            height: 4rem;
            -webkit-border-radius: 50%;
            -moz-border-radius: 50%;
            border-radius: 50%;
        }

        header div:nth-child(1) {
            text-align: left;
            width: 15%;

        }

        header div:nth-child(2) {
            text-align: left;
            width: 53%;
        }

        header div:nth-child(3) {

            width: 30%;
            color: #cccccc;

        }
    </style>
    <title>玩呗-牌局房间分享</title>
    <script type="text/javascript" src="https://wb2.ihuizhi.com/chess/js/common/jquery.min.js"></script>
    <link href="https://wb2.ihuizhi.com/chess/css/room/base.css" rel="stylesheet"/>
    <link href="https://wb2.ihuizhi.com/chess/css/room/page.css" rel="stylesheet"/>
</head>
<body style="background-color: #23282e">
<div class="wrap black-bg" id="wrap">
    <main class="main">
        <div class="room-container">
            <img class="bg" src="https://wb2.ihuizhi.com/chess/images/room_bg.jpg">
            <div class="room-group fs12">
                <div class="room-header tc">
                    <p class="game-title fs16">跑得快</p>
                    <img class="mt3 game-icon" src="http://wb2.ihuizhi.com/chess/chess_img/game/logo/1612081609085600.png">
                    <div class="tc">
                        <div class="room-number tc fs16">
                            <p class="room-title">房间号</p>
                            <p class="number">
                                800200
                            </p>
                        </div>
                    </div>
                </div>
                <input type="hidden" id="openApp" value="">
                <div class="starting clearfix tc">
                    <p style="color: #e1cdad;padding: 0.5rem 0;font-size:1.3rem;">当前玩家</p>

                </div>
                <div class="starting clearfix tc">
                    <div class="col">
                        <p class="mt5 fs12">房间状态</p>





                        <p class="fs18 red">已解散</p>



                    </div>
                    <div class="col">



                        <p class="mt5 fs12">局数</p>
                        <p class="fs18">10</p>



                    </div>
                    <div class="col">
                        <p class="mt5 fs12">人数</p>


                        <p class="fs18">0</p>



                    </div>
                </div>
                <div class="game-rule">
                    <div class="heading tc fs13">游戏规则预览</div>
                    <div class="content mt5">

                    </div>
                </div>
                <div class="room-footer">
                    <div class="fixed-box">
                        <div class="padS15 padH10  tl iphone" style="display: none;">
                            <img class="w46e"   src="https://wb2.ihuizhi.com/chess/images/enterprise.png" onclick="javascript:showTips(1);" alt=""/>
                            <img class="w46e fr"  src="https://wb2.ihuizhi.com/chess/images/appstore.png" onclick="javascript:showTips(2);" alt=""/>
                        </div>
                        <div class="btn-group tc android" style="display: none;">
                            <a class="btn tap fs18" style="width: 45%;display:inline-block;"
                               onclick="javascript:showTips(4);">
                                <strong>下载游戏</strong>
                            </a>
                            <a class="btn tap fs18" onclick="javascript:showTips(3);"
                               style="width: 45%;background-color: #469246;color:#ffffff; display:inline-block;margin-left:1rem;">
                                <strong>启动游戏</strong>
                            </a>
                        </div>
                        <div class="hint mt10 fs9 tc">
                            <p>抵制不良游戏，拒绝盗版游戏。注意自我保护，谨防受骗上当</p>
                            <p>适度游戏益脑，沉迷游戏伤身。合理安排时间，享受健康生活</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main>
</div>
</body>

<link href="https://wb2.ihuizhi.com/chess/activity/css/down.css" rel="stylesheet"/>
<script src="https://wb2.ihuizhi.com/chess/activity/js/ts_tab.js"></script>
<div class="ts_tmbg" style="display:none" id="wexin1" onClick="mychange(1)"></div>
<div class="ts_wzxs" style="display:none" id="wexin2" onClick="mychangedown(1)">
    <div class="ts_bsbj">

        <p id="tc"><img width="100%" id="tc_nodowm_img" src="https://wb2.ihuizhi.com/chess/activity/images/tc_down.png"></p>
    </div>
</div>
<script>
    var sysType = getSysType();
    $(function(){
        if("iphone"==sysType){
            $("#tc").html('<img id="tc_nodowm_img" width="100%" src="https://wb2.ihuizhi.com/chess/activity/images/tclog_iphone.png"/>');
        }
    })
</script>
<script type="text/javascript">
    /**
     *判断微信
     */
    function wexin() {
        var ua = navigator.userAgent.toLowerCase();
        if (ua.match(/MicroMessenger/i) == "micromessenger") {
            return true;
        } else {
            return false;
        }
    }

    var wexin = wexin();
    var sysType = getSysType();

    $(function () {
        if ("iphone" == sysType) {
            $(".iphone").css('display', 'block');
        } else {
            $(".android").css('display', 'block');
        }
        var openApp = $("#openApp").val();
        if (openApp != undefined && openApp != '' && openApp == 1) {
            if ("iphone" == sysType) {
                showTips(5);
            } else {
                showTips(3);
            }
        }
    });

    function showTips(type) {
        /**
         *  全部改成弹窗提示浏览器打开
         */
        if (wexin) {
            openandroid(1); // 弹窗 去下载APP
        } else {
            // 1是IOS的下载/拉起企业版APP事件，
            if (type == 1) {
                open_app(type);
            } else if (type == 2) {
                // 2是IOS的下载/拉起AppSotre版本APP事件
                open_app(type);
            } else if (type == 3) {
                // 3是安卓的打开APP事件
                open_app(type);
            } else if (type == 4) {
                // 4是安卓的下载APP事件
                download_app();
            }else if (type == 5) {
                open_app(type);
            }

        }
    }

    /**
     *下载APP
     */
    function download_app() {
        window.location = "http://wb2.ihuizhi.com/chess/chess_img/apkurl/1810311152382645.apk";
    }

    /**
     *打开APP 玩呗 -对局房间
     */
    function open_app(type) {
        var url = "";
        var pullType = "";
        if ("android" == sysType) {
            url = "shareapp://iwanbei/openwith?webCode=083550";
            var ifr = document.createElement('iframe');
            ifr.src = url;
            ifr.style.display = 'none';
            document.body.appendChild(ifr);
        } else if ("iphone" == sysType) {
            if (type == 1) {
                // 下载企业版本按钮逻辑
                window.location.href = "wbenterprise://?webCode=083550";
                setTimeout(function () {
                    window.location.href = "/chess/config/enterprise_download";
                }, 1500);
            } else if(type == 2) {
                // 下载APP store版本按钮逻辑
                url = "https://wbsl.boxwan.cn/down/down.html?webCode=083550";
                window.location.href = url;
            }else if (type == 5) {
                if (pullType == 0) {
                    window.location.href = "/chess/config/enterprise_download";
                }else if (pullType == 1) { //企业版
                    window.location.href = "wbenterprise://?webCode=083550";
                }else if (pullType == 2) {
                    window.location.href = "shareapp://iwanbei/openwith?webCode=083550";
                }
            }
        }
    }

    /**
     *    判断是否是PC
     */
    function IsPC() {
        var userAgentInfo = navigator.userAgent;
        var Agents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
        var flag = true;
        for (var v = 0; v < Agents.length; v++) {
            if (userAgentInfo.indexOf(Agents[v]) > 0) {
                flag = false;
                break;
            }
        }
        return flag;
    }
</script>
</html>


